# CMake package configuration file for the plugin @PROJECT_NAME@

@PACKAGE_GUARD@
@PACKAGE_INIT@



set(SOFAMATRIX_QT_HAVE_QT5 @SOFAMATRIX_HAVE_QT5@)
set(SOFAMATRIX_QT_HAVE_QT6 @SOFAMATRIX_HAVE_QT6@)

find_package(Sofa.Core QUIET REQUIRED)
find_package(Sofa.Component.Constraint.Lagrangian.Solver QUIET REQUIRED)
find_package(Sofa.Component.LinearSolver.Direct QUIET REQUIRED)
find_package(Eigen3 QUIET REQUIRED)
find_package(Sofa.Qt QUIET REQUIRED)
find_package(SofaMatrix QUIET REQUIRED)

if(SOFAMATRIX_QT_HAVE_QT5)
    find_package(Qt5 COMPONENTS Core QUIET REQUIRED)
endif()
if(SOFAMATRIX_QT_HAVE_QT6)
    find_package(Qt6 COMPONENTS Core CoreTools QUIET)
endif()

if(NOT TARGET @PROJECT_NAME@)
    include("${CMAKE_CURRENT_LIST_DIR}/@PROJECT_NAME@Targets.cmake")
endif()

check_required_components(@PROJECT_NAME@)
